package cn.yang.infrastructure.persistent.dao;

import cn.yang.infrastructure.persistent.po.RaffleActivity;
import cn.yang.infrastructure.persistent.po.RaffleActivitySku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @version v1.0
 * @ClassName: cn.yang.infrastructure.persistent.dao
 * @Description: 抽奖活动表Dao
 * @Author: YJ
 */
@Mapper
public interface IRaffleActivityDao {
    RaffleActivity queryRaffleActivityByActivityId(Long activityId);

    List<RaffleActivitySku> queryActivitySkuListByActivityId(Long activityId);

    Long queryStrategyIdByActivityId(Long activityId);

    Long queryActivityIdByStrategyId(Long strategyId);
}
